﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace wfaResClient
{
    class PublicData
    {
        public const string notebookUrl = "http://192.168.1.215:8088/#/";
        //public const string notebookUrl = "http://119.29.248.49/";//记事本URl
        public const string UploadUrl = "http://192.168.1.102:8081/calls/addCalls";//上传文件URL
        public const string CallRecordUpload= "http://192.168.1.102:8081/calls/addCallsNoFile";
        public const string hedImageUrl = "http://web.sr.gehua.net.cn/r/_u/239/295239/avatar/29523920150327184235.jpg";
        private static string loginID,aid,name, ipone, callType, callState, creaTime, updatetime, fileUrl;//aid当前设备号码
        private static bool isRecding;
        /// <summary>
        /// 判断是是否录音
        /// </summary>
        public static bool IsRecding
        {
            get { return isRecding; }
            set { isRecding = value; }
        }
        /// <summary>
        /// loginID当前登录的账号
        /// </summary>
        public static string LoginID
        {
            get
            {
                return loginID;
            }
            set
            {
                if (value != null)
                {
                    loginID = value;
                }
            }
        }
        /// <summary>
        ///  adi设备号码
        /// </summary>
        public static string Aid
        {
            get
            {
                return aid;
            }
            set
            {
                aid = value;
            }
        }
        /// <summary>
        ///  name通讯录上的姓名
        /// </summary>
        public static string Name
        {
            get
            {
                return name;
            }
            set
            {
                name = value;
            }
        }
        /// <summary>
        ///  ipone拨打的电话号码
        /// </summary>
        public static string IPone
        {
            get { return ipone; }
            set { ipone = value; }
        }
        /// <summary>
        /// 拨打的类型0拨1接
        /// </summary>
        public static string CallType
        {
            get { return callType; }
            set { callType = value; }
        }
        /// <summary>
        /// 返回的类型0挂断1接听
        /// </summary>
        public static string CallState
        {
            get { return callState; }
            set { callState = value; }
        }
        /// <summary>
        /// 拨打时间
        /// </summary>
        public static string CreaTime
        {
            get { return creaTime; }
            set { creaTime = value; }
        }
        /// <summary>
        /// 挂断时间
        /// </summary>
        public static string Updatetime
        {
            get { return updatetime; }
            set { updatetime = value; }
        }
        /// <summary>
        /// 上传的文件路径
        /// </summary>
        public static string FileUrl
        {
            get { return fileUrl; }
            set { fileUrl = value; }
        }
    }
}
